package com.kuqi.blog.service;

import com.kuqi.blog.vo.Result;
import com.kuqi.blog.vo.params.CommentParam;

/**
 * @author:kuqi
 * @createTime:2021/12/17 10:24
 * @description:
 */


public interface CommentsService {
    /**
     * 根据文章id查询对应的评论
     * @param articleId
     * @return
     */
    Result commentsByArticleId(Long articleId);

    /**
     * 添加评论接口
     * @return
     * @param commentParam
     */
    Result comment(CommentParam commentParam);
}
